Copy worksheet data into a chart
If an embedded chart is created from nonadjacent selections (nonadjacent selection: A selection of two or more cells or ranges that don't touch each other. When plotting nonadjacent selections in a chart, make sure that the combined selections form a rectangular shape.) or if the chart is on a separate chart sheet, you can copy additional worksheet data into the chart.
- On the worksheet, select the cells that contain the data that you want to add to the chart.
Tip If you want the column or row label for the new data to appear in the chart, include the cell that contains the label in the selection.
-
Click Copy .
-
Click the chart sheet or the embedded chart into which you want to paste the copied data.
-
Do one of the following:
- To paste the data in the chart, click Paste .
- To specify how the copied data should be plotted in the chart, click Paste Special on the Edit menu, and then select the options that you want.
TOP
CLOSE WORKBOOK WINDOWS
To close Do this
| The active workbook window |
Click Close in the upper-right corner of the window.
If the window is the only open window of the workbook, the workbook is closed. |
| All open windows of a workbook |
On the File menu, click Close . |
| All open workbooks |
Hold down SHIFT, and then click Close All on the File |
TOP
DELETE CELLS, ROWS OR COLUMNS
-
Select the cells, rows, or columns that you want to delete.
How to select cells, rows, or columns
To select Do this
| A single cell |
Click the cell, or press the arrow keys to move to the cell. |
| A range of cells |
Click the first cell in the range, and then drag to the last cell. |
| A large range of cells |
Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can scroll to make the last cell visible. |
| Nonadjacent (nonadjacent selection: A selection of two or more cells or ranges that don't touch each other. When plotting nonadjacent selections in a chart, make sure that the combined selections form a rectangular shape.) cells or cell ranges |
Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges. |
| Cells to the last used cell on the worksheet (lower-right corner) |
Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell on the worksheet (lower-right corner). |
| Cells to the beginning of the worksheet |
Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of the worksheet. |
| Columns or rows |
Click the column or row heading. |
| Nonadjacent columns or rows |
Select the first column or row, and then hold down CTRL while you select the other columns or rows. |
Note To cancel a selection of cells, click any cell on the worksheet.
-
On the Edit menu, click Delete .
Tip You can also right-click a selection of cells, rows, or columns, and then click Delete on the shortcut menu.
Note Pressing DELETE deletes the contents of the selected cells, not the cells themselves.
-
If you are deleting a cell or a range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells, in the Delete dialog box, click Shift cells left , Shift cells up , Entire row , or Entire column .
If you are deleting rows or columns, other rows or columns automatically shift up or to the left.
|
|
TOP
EDIT CELL CONTENTS
By default, you can edit the contents of a cell directly in the cell. You can also edit the contents of a cell in the formula bar (formula bar: A bar at the top of the Excel window that you use to enter or edit values or formulas in cells or charts. Displays the constant value or formula stored in the active cell.) .
- To place the contents of a cell in editing mode, do one of the following:
- Double-click the cell that contains the data that you want to edit.
- Click the cell that contains the data that you want to edit, and then click anywhere in the formula bar.
This positions the insertion point in the cell or formula bar.
Tip To move the insertion point to the end of the cell contents, click the cell and press F2.
-
To edit the cell contents, do any of the following:
- To delete characters, press BACKSPACE, or select them, and then press DELETE.
- To insert characters, click where you want to insert them, and then type the new characters.
- To replace specific characters, select them, and then type the new characters.
- To turn on Overtype mode so that existing characters are replaced by new characters while you type, press INSERT.
Note When Overtype mode is turned on, OVR is displayed on the status bar. Overtype mode can be turned on or off only when you are in editing mode.
-
To start a new line of text at a specific point in a cell, click where you want to break the line, and then press ALT+ENTER.
-
To enter your changes, press ENTER.
Tip Before you press ENTER, you can cancel any changes that you made by pressing ESC.
|
|
TOP
FORMULAS - ENTERING
Formulas are equations that perform calculations on values in your worksheet. A formula starts with an equal sign (=). For example, the following formula multiplies 2 by 3 and then adds 5 to the result:
=5+2*3
The following formulas contain operators (operator: A sign or symbol that specifies the type of calculation to perform within an expression. There are mathematical, comparison, logical, and reference operators.) and constants (constant: A value that is not calculated and, therefore, does not change. For example, the number 210, and the text "Quarterly Earnings" are constants. An expression, or a value resulting from an expression, is not a constant.) .
Example formula What it does
| =128+345 |
Adds 128 and 345 |
| =5^2 |
Squares 5 |
- Click the cell in which you want to enter the formula.
- Type = (an equal sign).
- Enter the formula.
- Press ENTER.
|
|
|
|
TOP
GRAPHS/CHARTS
-
On the worksheet, arrange the data that you want to plot in a chart.
- For a column, bar, line, area, surface or radar chart, you should arrange the data in columns or rows.
Data in columns:
Data in rows:
-
For a pie or doughnut chart with only one series of data, you should arrange the data in one column or row only.
One column of data and one column of data labels:
One row of data and one row of data labels:
-
Select the cells that contain the data that you want to use for the chart.
Tip If the cells that you want to select for the chart are not in a continuous range, select the first group of cells that contain the data that you want to include. Hold down CTRL, and then select any additional cell groups that you want to include. The nonadjacent selections must form a rectangle.
TOP
MACROS
-
Set the security level to Medium or Low .
- On the Tools menu, click Options .
- Click the Security tab.
- Under Macro Security , click Macro Security .
- Click the Security Level tab, and then select the security level you want to use.
-
On the Tools menu, point to Macro , and then click Record New Macro .
-
In the Macro name box, enter a name for the macro (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) .
Notes
- The first character of the macro name must be a letter. Other characters can be letters, numbers, or underscore characters. Spaces are not allowed in a macro name; an underscore character works well as a word separator.
- Do not use a macro name that is also a cell reference or you can get an error message that the macro name is not valid.
-
If you want to run the macro by pressing a keyboard shortcut key (shortcut key: A function key or key combination, such as F5 or CTRL+A, that you use to carry out a menu command. In contrast, an access key is a key combination, such as ALT+F, that moves the focus to a menu, command, or control.) , enter a letter in the Shortcut key box. You can use CTRL+ letter (for lowercase letters) or CTRL+SHIFT+ letter (for uppercase letters), where letter is any letter key on the keyboard. The shortcut key letter you use cannot be a number or special character such as @ or #.
Note The shortcut key will override any equivalent default Microsoft Excel shortcut keys while the workbook that contains the macro is open.
-
In the Store macro in box, click the location where you want to store the macro.
If you want a macro to be available whenever you use Excel, select Personal Macro Workbook .
-
If you want to include a description of the macro, type it in the Description box.
-
Click OK .
-
If you want the macro to run relative to the position of the active cell, record it using relative cell references. On the Stop Recording toolbar, click Relative Reference
-
so that it is selected. Excel will continue to record macros with relative references until you quit Excel or until you click Relative Reference again, so that it is not selected.
-
Carry out the actions you want to record.
-
On the Stop Recording toolbar, click Stop Recording .
TOP |
|
|
|
|